<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css"> 
    <title>用户列表</title>
</head>
<body>
    <script src="header.js"></script> 
    <div id="user-list-container">
        
        <form id="add-user-form">
            <input type="text" id="new-username" placeholder="用户名" required>
            <input type="password" id="new-password" placeholder="密码" required>
            <input type="email" id="new-email" placeholder="邮箱" required>
            <select id="new-role" required>
                <option value="default">普通用户</option>
                <option value="root">管理员</option>
            </select>
            <button type="submit">添加用户</button>
        </form>
        <h1>用户列表</h1>
        <table id="user-table" border="1">
            <thead>
                <tr>
                    <th>用户名</th>
                    <th>邮箱</th>
                    <th>权限</th>
                    <th>重置密码</th>
                    <th>删除用户</th>
                    <th>确认修改</th>
                    <th>登录此用户</th>
                </tr>
            </thead>
            <tbody id="user-list">
            </tbody>
        </table>
        <div id="pagination"></div>
    </div>
    <script src="script.js"></script> 
</body>
</html>